home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 March / Gamestar_71_2005-03_dvd.iso / Dema / willofsteel_demo.exe / {app} / Data / gui / ays.gui next >
Text File  |  2004-10-23  |  2KB  |  84 lines

  1. ID_BUTTON            = 0 
  2. ID_FRAME            = 7 
  3. PGUI_1STBUTTON_DOWN            =  0 
  4. PGUI_1STBUTTON_UP            =  1 
  5. PGUI_1STBUTTON_CLCK            =  2
  6. PGUI_1STBUTTON_DBLCLCK      =  3
  7. PGUI_1STBUTTON_DRAG            =  4
  8. PGUI_1STBUTTON_DROP            =  5
  9. PGUI_2NDBUTTON_DOWN            =  6
  10. PGUI_2NDBUTTON_UP            =  7
  11. PGUI_2NDBUTTON_CLCK            =  8
  12. PGUI_2NDBUTTON_DBLCLCK        =  9
  13. PGUI_2NDBUTTON_DRAG            = 10
  14. PGUI_2NDBUTTON_DROP            = 11
  15. PGUI_POINTER_MOVE            = 12
  16. PGUI_POINTER_HOVER            = 13
  17. PGUI_POINTER_LEAVE            = 14
  18. PGUI_POINTER_DRAG_HOVER        = 15
  19. PGUI_POINTER_DRAG_LEAVE        = 16
  20. PGUI_CHAR_PRESSED            = 17
  21. PGUI_KEY_PRESSED            = 18
  22. PGUI_VALUE_CHANGED            = 19
  23. PGUI_RELEASE_FOCUS            = 20
  24. PGUI_INITIALISATION            = 21
  25. PGUI_ANIMATION_FINISHED        = 22
  26.  
  27. CreateGUI("ays");
  28.  
  29. id=GUIADDCONTROL {
  30.     Parent     = 0,
  31.     Name       = "AreYouSureFrame",
  32.     Title       = "AreYouSureFrame",
  33.     ControlType= ID_FRAME,
  34.     BoundRect  = {0,0,1024,768},
  35.     Texture    = "GUI/top_border.dds",
  36.     Rec1STTexture = {0,232,1,233},
  37. };
  38.  
  39. GUIADDCONTROL {
  40.     Parent     = id,
  41.     Name       = "AreYouSureFrame2",
  42.     Title       = "AreYouSureFrame2",
  43.     ControlType= ID_FRAME,
  44.     BoundRect  = {407,312,619,434},
  45.     Texture    = "GUI/top_border.dds",
  46.     Rec1STTexture = {654,103,866,225},
  47. };
  48.  
  49.  
  50. GUIADDCONTROL {
  51.     Parent     = id,
  52.     Name       = "Yes",
  53.     ControlType= ID_BUTTON,
  54.     BoundRect  = {429,386,506,415},
  55.     Texture    = "GUI/top_border.dds",
  56.     Title      = "Yes",
  57.     Rec1STTexture = {0,232,1,233},
  58.     Rec2NDTexture = {33,132,110,160},
  59.     Rec3RDTexture = {0,232,1,233},
  60.     Rec4THTexture = {0,232,1,233},
  61.  
  62.     MESSAGE_MAP = {
  63.         {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_YES"},
  64.     },
  65. };
  66.  
  67. GUIADDCONTROL {
  68.     Parent     = id,
  69.     Name       = "No",
  70.     ControlType= ID_BUTTON,
  71.     BoundRect  = {525,386,602,415},
  72.     Texture    = "GUI/top_border.dds",
  73.     Title      = "No",
  74.     Rec1STTexture = {0,232,1,233},
  75.     Rec2NDTexture = {33,161,110,189},
  76.     Rec3RDTexture = {0,232,1,233},
  77.     Rec4THTexture = {0,232,1,233},
  78.  
  79.     MESSAGE_MAP = {
  80.         {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_NO"},
  81.     },
  82. };
  83.  
  84.